import Http from "@/util/http";

export const getHomeIndexColumns = (params) => {
    return Http({
        url: '/sys/home-column/home-cols',
        method: 'get',
        params
    })
}
export const deleteHomeIndexColumns = (data) => {
    return Http({
        url: '/sys/home-column/delete',
        method: 'delete',
        data
    })
}
export const saveHomeIndexColumns = (data) => {
    return Http({
        url: '/sys/home-column/save',
        method: 'post',
        data
    })
}
export const updateHomeIndexColumns = (data) => {
    return Http({
        url: '/sys/home-column/update',
        method: 'put',
        data
    })
}
